package com.his.uitl;

import java.util.concurrent.ThreadLocalRandom;

public class IdUtils {

    /*产生病历号*/
    public static Integer getCaseNumber(){
        Integer result=1000;
        int nextInt = ThreadLocalRandom.current().nextInt(1000, 10000);
        String s = result.toString() + nextInt;
        return Integer.valueOf(s);
    }
}
